import api from '../index';

// 服务商管理统计
export const getAgentRewardCount = (data:any) => api.get('customer/api/agent/reward/count', {data});

// 服务商招商店铺列表	
export const getAgentStoreList = (data:any) => api.get('merchant/customer/store/agent/list', {data});
// 服务商奖励明细列表	
export const getAgentRewardList = (data:any) => api.get('customer/api/agent/reward/list', {data});

// 服务商管理统计
export const getPromoteRewardCount = (data:any) => api.get('customer/api/agent/recommend/count', {data});

// 推广商家招商店铺列表	
export const getPromoteStoreList = (data:any) => api.get('merchant/customer/store/recommend/list', {data});
// 推广商家奖励明细列表	
export const getPromoteRewardList = (data:any) => api.get('customer/api/agent/recommend/list', {data});
// 推广商家奖励提现
export const postPromoteExtract = (params:any) => api.post('/customer/api/cash/agent', {params});
